V8 (JavaScript engine)

Google V8 JavaScript Engine
Developer(s) Google
Stable release 3.8.3[1] / December 27, 2011; 50 days ago (2011-12-27)
Development status Active
Written in C++, JavaScript, Assembly
Operating system Microsoft Windows, Mac OS X, Linux, FreeBSD, Android, webOS, Google Chrome OS
Platform x86, x86-64, ARM
Type JavaScript engine
License BSD license
Website http://code.google.com/p/v8/

The Google V8 JavaScript Engine is an open source JavaScript engine developed by Google and ships with the Google Chrome web browser.[2] Lars Bak is the head programmer.[3]

V8 increases performance by compiling JavaScript to native machine code before executing it, rather than to execute bytecode or interpreting it. Further performance increases are achieved by employing optimization techniques such as inline caching. With these features, JavaScript applications running within V8 are said to have an effective speed comparable to a compiled binary.

Contents

Details

The garbage collector of V8 is a generational stop-the-world collector.[4]

The V8 assembler is based on the Strongtalk assembler.[5]

Crankshaft

On 7th December 2010, a new compilation infrastructure called Crankshaft was introduced, with speed improvements.[6]

See also

References

External links